package com.zong.zcloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication // spring-boot 启动注解
@EnableDiscoveryClient // spring-cloud 服务注解
public class ProviderApp {
	public static void main(String[] args) {
		new SpringApplicationBuilder(ProviderApp.class).web(true).run(args);
	}
}